home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / floor.z / floor
Encoding:
Text File  |  2002-10-03  |  1.7 KB  |  46 lines

  1. FLOOR(3I)                                             Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      FFLLOOOORR - Returns the greatest integer less than or equal to _a
  6.  
  7. SSYYNNOOPPSSIISS
  8.      FFLLOOOORR (([AA==]_a [,,[KKIINNDD==]_k_i_n_d]))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, IRIX systems
  12.  
  13.      CF90, MIPSpro 7 Fortran 90
  14.  
  15. SSTTAANNDDAARRDDSS
  16.      Fortran
  17.  
  18. DDEESSCCRRIIPPTTIIOONN
  19.      The FFLLOOOORR intrinsic function returns the greatest integer less than or
  20.      equal to _a.  It accepts the following arguments:
  21.  
  22.      _a         Must be of type real
  23.  
  24.      _k_i_n_d      An integer scalar value.  Must be a scalar integer
  25.                initialization expression
  26.  
  27.      FFLLOOOORR is an elemental function.  The name of this intrinsic cannot be
  28.      passed as an argument.
  29.  
  30. RREETTUURRNN VVAALLUUEESS
  31.      The result is an integer.  If _k_i_n_d is specified, the kind type
  32.      parameter is that specified by _k_i_n_d.  If _k_i_n_d is not specified, the
  33.      result is of type default integer.  The result has value equal to the
  34.      greatest integer less than or equal to _a.  The result is undefined if
  35.      the target machine cannot represent this value in the default integer
  36.      type.
  37.  
  38. EEXXAAMMPPLLEESS
  39.      FFLLOOOORR((33..77)) has the value 3.  FFLLOOOORR((--33..77)) has the value -4.
  40.  
  41. SSEEEE AALLSSOO
  42.      _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
  43.  
  44.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  45.      man page.
  46.